package com.personal.entity;

import java.util.Date;

/**
 * @author 萌新
 * @version 1.0
 * @date 2021/4/2 15:21
 */

public class PersonInfo {
    /** id */
    private Long userId;
    /** 姓名 */
    private String name;
    /** 头像地址 */
    private String profileImag;
    /** 邮箱 */
    private String email;
    /** 性别 */
    private String gender;
    /** 状态 */
    private Integer enableStatus;
    /** 用户类型  1.顾客 2.店家 3.超级管理员 */
    private Integer userType;
    /** 创建时间 */
    private Date createTime;
    /** 修改时间 */
    private Date lastEditTime;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProfileImag() {
        return profileImag;
    }

    public void setProfileImag(String profileImag) {
        this.profileImag = profileImag;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getEnableStatus() {
        return enableStatus;
    }

    public void setEnableStatus(Integer enableStatus) {
        this.enableStatus = enableStatus;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastEditTime() {
        return lastEditTime;
    }

    public void setLastEditTime(Date lastEditTime) {
        this.lastEditTime = lastEditTime;
    }

    @Override
    public String toString() {
        return "personInfo{" +
                "id=" + userId +
                ", name='" + name + '\'' +
                ", profileImag='" + profileImag + '\'' +
                ", email='" + email + '\'' +
                ", gender='" + gender + '\'' +
                ", enableStatus=" + enableStatus +
                ", userType=" + userType +
                ", createTime=" + createTime +
                ", lastEditTime=" + lastEditTime +
                '}';
    }
}
